<ion-view view-title="限时抢购">
	
  <ion-content scroll="false">
  	<div class="row padding-0 font-large-my text-center">
		<div class="col" ng-class="selectIndex==0?'top-activated':''" on-tap="activeSlide(0)">
	              进行中
        </div>
		<div class="col" ng-class="selectIndex==1?'top-activated':''" on-tap="activeSlide(1)">
		      已结束
		</div>
	</div>
	
	  <ion-slide-box delegate-handle="main-handle" on-slide-changed="slideChanged(index)"  show-pager="false">
	   <ion-slide>	
		<ion-scroll direction="y" ng-style="myObj" lazy-scroll>
		<!--描述：下拉刷新-->
		<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
		  <div class="list list-borderless" ng-repeat="doing in doing.act">
		    <li class="item item-image">
		    	<img src="{{doing.image.image}}" />
		    </li>	
		  	<li class="item padding-5">
		  		<span class="assertive">{{doing.name}}</span>
		  		<span class="right-zhang balanced">进行中...</span>
		  	</li>
		  	<li class="item padding-5 font-gray-my">
		  		<i class="icon ion-clock"></i>
		  		开始时间：{{doing.start_time}}
		  	</li>
		  		<li class="item padding-5 font-gray-my">
		  		<i class="icon ion-clock"></i>
		  		结束时间：{{doing.end_time}}
		  	</li>
		  	<li class="item padding-10">
			<div class="row font-large-my padding-0 text-center">
    			<div class="col bian_gray border-radius-my">
    				<i class="icon ion-android-contacts assertive"></i>
    				群互动
    			</div>
    			<div class="col col-offset-34 bian_gray border-radius-my" on-tap="onshow_grab(doing.act_id)">
    				<i class="icon ion-person positive"></i>
    				参加
    			</div>
			</div>
		   </li>
		  </div>
		  	<!--描述：当用户到达页脚或页脚附近时-->
		<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
	</ion-scroll>
  </ion-slide>
				
	  <ion-slide>
		<ion-scroll direction="y" ng-style="myObj" lazy-scroll>
		<!--描述：下拉刷新-->
		<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
		  <div class="list list-borderless" ng-repeat="end in ended.act">
		    <li class="item item-image">
		    	<img src="{{end.image.image}}" />
		    </li>	
		  	<li class="item padding-5">
		  		<span class="assertive">{{end.name}}</span>
		  		<span class="right-zhang">已结束</span>
		  	</li>
		  	<li class="item padding-5 font-gray-my">
		  		<i class="icon ion-clock"></i>
		  		开始时间：{{end.start_time}}
		  	</li>
		  		<li class="item padding-5 font-gray-my">
		  		<i class="icon ion-clock"></i>
		  		结束时间：{{end.end_time}}
		  	</li>
		  	<li class="item padding-10">
				<button class="button button-block button-small button-outline button-positive" on-tap="onshow_statistics(end.act_id)"><i class="icon ion-android-options"></i>&nbsp;统计</button>
		   </li>
		  </div>
		  	<!--描述：当用户到达页脚或页脚附近时-->
		<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
	</ion-scroll>
   </ion-slide>
		
	</ion-slide-box>
  </ion-content>
</ion-view>